﻿using KM.Framework.Utility;
using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;

namespace KM.Framework.Business
{
  public class ConverterColor_Caps : IValueConverter
    {
        public object Convert(object value, Type typeTarget, object param, CultureInfo culture)
        {
            bool isCaps = value.ToBoolean();
            if (isCaps)
            {
                return "#F14A58";
            }
            else
            {
                return "#EDF905";
            }
        }
        public object ConvertBack(object value, Type typeTarget, object param, CultureInfo culture)
        {
            return "#EDF905";
        }
    }

  
    
}
